﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="details.aspx.vb" Inherits="WebApplication1.details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" 
                    ReadOnly="True" SortExpression="ID" />
                <asp:BoundField DataField="ModuleName" HeaderText="ModuleName" 
                    SortExpression="ModuleName" />
                <asp:BoundField DataField="ModuleYear" HeaderText="ModuleYear" 
                    SortExpression="ModuleYear" />
                <asp:BoundField DataField="CC" HeaderText="CC" SortExpression="CC" />
                <asp:BoundField DataField="Make" HeaderText="Make" SortExpression="Make" />
                <asp:BoundField DataField="Condition" HeaderText="Condition" 
                    SortExpression="Condition" />
                <asp:BoundField DataField="Color" HeaderText="Color" SortExpression="Color" />
                <asp:BoundField DataField="Registration" HeaderText="Registration" 
                    SortExpression="Registration" />
                <asp:BoundField DataField="Price" HeaderText="Price" SortExpression="Price" />
                <asp:BoundField DataField="ContactNuber" HeaderText="ContactNuber" 
                    SortExpression="ContactNuber" />
                <asp:BoundField DataField="Picture" HeaderText="Picture" 
                    SortExpression="Picture" />
                <asp:BoundField DataField="InfoUrl" HeaderText="InfoUrl" 
                    SortExpression="InfoUrl" />
                <asp:BoundField DataField="SelerPostcode" HeaderText="SelerPostcode" 
                    SortExpression="SelerPostcode" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:carConn %>" 
            ProviderName="<%$ ConnectionStrings:carConn.ProviderName %>" 
            SelectCommand="SELECT * FROM [Car] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue="{0}" Name="ID" QueryStringField="ID" 
                    Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
